shouldFireBeforeUnload

Returns true if the registered on the web page beforeunload and unload JavaScript events should be fired when closing a browser instance.